﻿	<fieldset>
		<legend>风险详细信息</legend>
            
		<div class="editor-label">
			标题
		</div>
		<div class="editor-field">
      <input type="hidden" id="Risk_ID" name="ID" value="${ID}" />
			<input type="text" id="Risk_Title" name="Title" value="${Title}" />
		</div>
            
		<div class="editor-label">
			指派给
		</div>
		<div class="editor-field">
			<input type="text" id="Risk_AssignedTo" name="AssignedTo" value="${AssignedTo}" />
		</div>
            
		<div class="editor-label">
			发生的可能性
		</div>
		<div class="editor-field">
      <select name="Possibility" id="Possibility">
        <option value="0.07">非常不可能(7%)</option>
        <option value="0.21">低（21%）</option>
        <option value="0.35">或许不会发生（35%）</option>
        <option value="0.5">50-50（50%）</option>
        <option value="0.65">或许会发生（65%）</option>
        <option value="0.79">非常有可能发生（79%）</option>
        <option value="0.93">几乎确定要发生（93%）</option>
      </select>
		</div>
            
		<div class="editor-label">
			发生后的严重程度
		</div>
		<div class="editor-field">
      <select name="Impact" id="Impact">
        <option value="1">1</option>
        <option value="2">2</option>
        <option value="3">3</option>
        <option value="4">4</option>
        <option value="5">5</option>
        <option value="6">6</option>
        <option value="7">7</option>
        <option value="8">8</option>
        <option value="9">9</option>
        <option value="10">10</option>
      </select>
		</div>

    <div class="editor-label">
      状态
    </div>
    <div class="editor-field">
      <select name="Status" id="Risk_Status">
       <!-- <option value="Not Started">Not Started</option>
        <option value="In Progress">In Progress</option>
        <option value="Completed">Completed</option>
        <option value="Deferred">Deferred</option>
        <option value="Waiting on someone else">Waiting on someone else</option>-->
        <!-- TODO: 下面这个列表应该按照IVoweiContext.GetTaskStatusDefinitions返回的值动态设置 -->
        <option value="Not Started">Not Started</option>
        <option value="Accepted">Accepted</option>
        <option value="In Progress">In Progress</option>
        <option value="Under Review">Under Review</option>
        <option value="Completed">Completed</option>
        <option value="Closed">Closed</option>
        <option value="Deferred">Deferred</option>
        <option value="Rejected">Rejected</option>
        <option value="Canceled">Canceled</option>
      </select>
    </div>

    <div class="editor-label">
      进度
    </div>
    <div class="editor-field">
      <input type="text" id="Risk_Progress" name="Progress" value="${Progress}" />
    </div>

    <div class="editor-label">
	  	开始时间
    </div>
    <div class="editor-field">
      <input type="text" name="StartDate" value="${format_date(StartDate)}" id="Risk_StartDate" class="DateTimeClass" />
    </div>
            
    <div class="editor-label">
	  	结束时间
    </div>
    <div class="editor-field">
      <input type="text" name="DueDate" value="${format_date(DueDate)}" id="Risk_DueDate" class="DateTimeClass" />
    </div>
            
		<div class="editor-label">
			重复任务？
		</div>
		<div class="editor-field">
			<input type="checkbox" id="IsRecursive" name="Risk_IsRecursive" value="${IsRecursive}" />
		</div>
            
		<div class="editor-label">
			风险详细描述
		</div>
		<div class="editor-field">
			<input type="text" class="HtmlClass" id="Risk_Description" name="Description" value="${Description}" />
		</div>

    <div class="editor-label">
      风险的根本原因分析
    </div>
    <div class="editor-field">
      <input type="text" class="HtmlClass" id="Risk_RootCause" name="RootCause" value="${Description}" />
    </div>
    
    <div class="editor-label">
      标签
    </div>
    <div class="editor-field">
      <input type="text" id="Risk_TagText" name="TagText" value="${TagText}" />
    </div>
	</fieldset>